package com.shycloud.mido.task.api.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author npc
 * @date 2018/6/22
 */
@FeignClient(value="shycloud-organ-biz")
public interface RemoteOrgService {


	/**
	 * 会员所属机构数量
	 * @param id
	 * @return
	 */
	@GetMapping("/member/getOrgNumber")
	Integer getOrgNumber(@RequestParam("id") String id);

	/**
	 * 查询会员纠错大师状态
	 * @param memberId 会员ID
	 * @return
	 */
	@PostMapping("/master/getStatus")
	 Boolean getStatus(@RequestParam("memberId") String memberId);

}
